package com.veo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Arrays;
import java.util.Map;

@Controller
public class user {

    @RequestMapping("/user")
    public String toUser(Map<String,Object> map){
        map.put("name","张三");
        map.put("title","<h1>这是一个标题</h1>");
        map.put("users", Arrays.asList("a","b","c"));
        return "success";
    }
}
